package com.atguigu.gmall.product.feign;


import com.atguigu.gmall.model.product.*;
import org.springframework.stereotype.Component;

import java.math.BigDecimal;
import java.util.List;
import java.util.Map;
// 在Spring容器是存在的
@Component
public class DegradProductFeignImpl implements ProductFeignClient {
    @Override
    public SkuInfo getSkuInfo(Long skuId) {
        //降级处理 代码
        return null;
    }

    @Override
    public BaseCategoryView getCategoryView(Long id) {
        return null;
    }

    @Override
    public List<SpuSaleAttr> getSpuSaleAttrListCheckBySku(Long skuId, Long spuId) {
        return null;
    }

    @Override
    public BigDecimal getSkuPrice(Long skuId) {
        return null;
    }

    @Override
    public List<Map> getSkuValueIdsMap(Long spuId) {
        return null;
    }

    @Override
    public List<Map> getCategoryList() {
        return null;
    }

    @Override
    public BaseTrademark getTrademark(Long tmId) {
        return null;
    }

    @Override
    public List<SkuAttrValue> getBaseAttrInfoAndValue(Long skuId) {
        return null;
    }
}
